<template>
  <div>
    御剑乘风来,除魔天地间!===vue3==={{ name }}
    <Dau app="我是app组件setup函数的写法" @handle="handle"></Dau>
  </div>
</template>
<script>
import { ref } from 'vue'
import Dau from './components/Dau.vue'
export default {
  name: '',
  components: {
    Dau
  },
  setup () {
    const name = ref('jack')
    const handle = (msg) => {
      console.log("handle", msg);
    }
    return { name, handle }
  }
}
</script>
<style lang='less'  scoped>
</style>